@import "../../themes/ionic.globals.md";

// Material Design Toast
// --------------------------------------------------

/// @prop - Background of the toast wrapper
$toast-md-background:                            #333 !default;

/// @prop - Color of the toast title
$toast-md-title-color:                           #fff !default;

/// @prop - Font size of the toast title
$toast-md-title-font-size:                       1.5rem !default;

/// @prop - Padding of the toast title
$toast-md-title-padding:                         19px 16px 17px !default;


.toast-md .toast-wrapper {
  position: absolute;
  right: 0;
  left: 0;
  z-index: $z-index-overlay-wrapper;
  display: block;

  margin: auto;

  width: $toast-width;
  max-width: $toast-max-width;

  background: $toast-md-background;
}

.toast-md .toast-wrapper.toast-top {
  top: 0;

  transform: translate3d(0, -100%, 0);
}

.toast-md .toast-wrapper.toast-bottom {
  bottom: 0;

  transform: translate3d(0, 100%, 0);
}

.toast-md .toast-wrapper.toast-middle {
  opacity: .01;
}

.toast-md .toast-message {
  padding: $toast-md-title-padding;

  font-size: $toast-md-title-font-size;

  color: $toast-md-title-color;
}
